package c.c.a;

import android.annotation.SuppressLint;
import android.os.Build;
import android.os.Build.VERSION;
import org.json.JSONObject;

public class c2 extends b2 {
    public c2() {
        super(true, false);
    }

    @SuppressLint({"MissingPermission"})
    public boolean b(JSONObject jSONObject) {
        jSONObject.put("os", "Android");
        jSONObject.put("os_version", VERSION.RELEASE);
        int i = VERSION.SDK_INT;
        jSONObject.put("os_api", i);
        jSONObject.put("device_model", Build.MODEL);
        jSONObject.put("device_brand", Build.BRAND);
        jSONObject.put("device_manufacturer", Build.MANUFACTURER);
        jSONObject.put("cpu_abi", Build.CPU_ABI);
        String str = "build_serial";
        jSONObject.put(str, Build.SERIAL);
        if (i >= 26) {
            jSONObject.put(str, Build.getSerial());
        }
        return true;
    }
}
